//载入那些函数库
let includes = ([
    "include/common.js",
]);

let inherits = ([
    "inherit/data.js",
]);


//被创建的时候触发
function create() {

    let me = thisObject;
    me.set("obType", "isAgent");
    me.set("user", "");
    //连接对象 farOs的内核对象
    me.set("session", "");
    return me;
}


function getUser() {
    return findObject( thisObject.get("user") );
}

function setUser(userOb) {
    thisObject.set("user", fileNameSid(userOb));
}

function getSession() {
    return thisObject.get("session");
}

function setSession(session) {
    thisObject.set("session", session);
}






